// SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
// SPDX-License-Identifier: Mulan PSL v2
package com.geniusai.aip.auth.constants;

import lombok.Data;

/**
 * @Description 普通常量类
 * @Author: zhangkun91535
 * @Date: 2022-09-15 11:35
 * @Version 1.0
 **/
@Data
public class AuthCommonConstants {

    public static final String GET_PROJECT_NUM_URL = "web/v1/user/{userId}/project:count";

    public static final String GET_DATASOURCE_NUM_URL = "web/v1/user/{userId}/dataSource:count";

    public static final String GET_CODE_STUDIO_NUM_URL = "notebooks/v1/users/{userId}/notebooks?keyword=";

    public static final String DELETE_USERID_NOTEBOOK_RECORDS_URL = "notebooks/v1/users/{userId}/notebooks";

    public static final String DELETE_USERID_IMAGES_RECORDS_URL = "deploy/v1/users/{userId}/images";

    public static final String DELETE_PROJECT_URL = "web/v1/user/{userId}/project";

    public static final String DELETE_DATASOURCE_URL = "web/v1/user/{userId}/dataSource";

    public static final String GET_ALGORITHM_NUM_URL = "training/v1/user/{userId}/algorithm:count";

    public static final String GET_AI_FLOW_IMAGE_NUM_URL = "deploy/v1/users/{userId}/images?keyword=";

    public static final String GET_ORION_VGPU_USAGE_TREND_URL = "api/v1/query_range";

    public static final String GET_RESOURCE_USING_TREND_GRAPH = "/api/datasources/proxy/1/api/v1/query_range";

    public static final String GET_ORION_VGPU_URL = "api/v1/query";

    public static final String POST_CREATE_DATA_SPACE_URL = "/ai-datalake/api/v1/dataspaces";

    public static final String PUT_DATA_SPACE_CAPACITY_UPDATE_URL = "/ai-datalake/api/v1/dataspaces/{dataspace}/diskcapacity/{diskcapacity}";

    public static final String PUT_DATA_SET_CAPACITY_UPDATE_URL = "/ai-datalake/api/v1/dataspaces/{dataspace}/datasetcapacity/{datasetcapacity}";

    public static final String POST_DATA_AUTH_USER_ROLE = "/permission/api/v1/data_auth";
    public static final String POST_DATA_AUTH_USER_ROLE_REVOKE = "/permission/api/v1/data_auth/revoke";
    public static final String DELETE_DATA_AUTH_USER = "/permission/api/v1/data_auth/{username}";


    public static final String DELETE_DATA_SPACE_URL = "/ai-datalake/api/v1/dataspaces/";

    public static final String CREATE_OR_DELETE_ORION_CLIENT_ID_URL = "v2/quotas";

    public static final String MINIO_STORAGE_TYPE = "Minio";

    public static final String EDS_STORAGE_TYPE = "EDS";

    public static final Integer EXTRA_AMOUNT_RATIO = 1;

    public static final String HARBOR_PROJECT_URL = "/api/projects";

    public static final String HARBOR_REPOSITORY_URL = "/api/repositories";

    public static final String AUTHORIZATION = "Basic YWRtaW46c2FuZ2ZvcjEyMw==";

    public static final String KUBEFLOW_USERID = "Kubeflow-Userid";

    public static final String HEAD_SUFFIX = "@sangfor.com";

    public static final String MYSQL_SECRET_NAME = "my-db";

    public static final String USER_ROLE = "kale_role";

    public static final Long SECONDS = 1000L;

    public static final Long S3_TOKEN_TIMEOUT = 864000L;

    public static final Integer MAP_SIZE = 2;
}
